package cn.webrx;

import java.util.HashSet;
import java.util.Random;
import java.util.Set;

public class Set7 {
    public static void main(String[] args) {
        Set<Set<Integer>> game = new HashSet<>();
        Random rand = new Random();
        Set<Integer> red = new HashSet<>(6);
        while(red.size()!=6){
            red.add(rand.nextInt(1,34));
        }
        System.out.println(red);

        Set<Integer> blue = new HashSet<>(1);
        blue.add(rand.nextInt(1,17));

        game.add(red);
        game.add(blue);
        System.out.println(game);
    }
}
